get button and editext instance