Added GestureRecognizer for hiding keyboard when tapping on view.