controlando as acoes dos botoes