To close iDevice keyboard on input