add two button listeners