Added class and xml for editing a counter, changes buttons on CounterView