clearable edit text, database updates