I have no idea why this isn't working. As far as I can tell there is none.
On button clicked--->
____________________if sprite=visible---> progressbar - set invisible
________________________________________sprite - set invisible
____________________if sprite=/=visible---> progressbar - set visible
__________________________________________sprite - set visible