Added the ability to query locations based on buttons being pressed and added styling