Added button listeners and fixed row selection bug. Jake