More information required.
The gui you are using is not known.
Write a minimal piece of code that represents the full code, that can be run.
It should have at least two buttons that call on_press.
Due to the reasons discussed here
we will be moving to python-forum.io/
on October 1 2016
This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.