button and edittext events