Added code to remove focus from input elements when pressing enter.