Added active state tu buttons, in the view added also the method that manages that status