fix autorestart when screenshot of the menu by longpress power button