keyboard functions; dealloc; text bar button