put gesture lock check to onStart
improve function name