hide menu when app in background