added rows buttons behavior