Added listeners to all buttons