adding some functionality to the buttons

side projects must not be perfect :D