Fixed Toggle Camera Bug

Fixed the bug for the toggle camera button which was taking picture as
well!