fixed a bug where the app would crash when clicking edittext