Adding change to enable saving changes when pressing enter