Fixed setting bubble

The Bubble is now working correctly. With correctly I mean the open and close stuff.