Fixed bug with Home button not working