Adding Keyboard notifications and tap gesture recognizer.