Added button listeners to a few pages