restart camera after picture is taken to prevent freezing