Restrict menu button to main screen