Solved not being able to reopen camera