Disable back button press when detecting print or loading picture