Implements keyboard auto hide on editsettings