changed upDownButtons using MVC pattern