added countdown when taking picatures