How to restart camera when not openning