fixed nasty bug when closing menu with backbutton on samsung devices