In step S316, the system controller 50 determines whether the time T in which the measurement thereof is started in step S314 is smaller than a predetermined period of time β. If a touch is not started in step S317 before the time T elapses the predetermined period of time β and a next tap is performed, it is not determined that double-tap in which tap is consecutively performed has been performed, and therefore, a process from step S317 to step S323 for the double-tap is not performed. When it is determined that the time T in which the measurement thereof is started in step S314 is smaller than β, the process proceeds to step S317, and otherwise, the process proceeds to step S305 where Touch-Move or a first tap operation is waited again. Here, β indicate a period of time, such as 0.1 seconds or 0.2 seconds. The process from step S316 to step S320 is performed to determine whether a second tap operation is consecutively performed within a predetermined period of time after the first tap operation is performed. As described in step S313, the possibility that the tap operation is performed by the nose touch is lower than the possibility that the tap operation is performed by a finger, and therefore, the possibility that the AF position is shifted due to the nose touch may be further reduced by a double-tap operation in which a tap operation is consecutively performed.