autofocusing and removing the button