Added listeners for some buttons