button added to go back to gallery and onResume changed to reload camera