Created Button Disabler and Moved the Locations into separate functions.