click out of change input haskell saves it