Prevent taking multiple pictures at one time