Added an abstract class based on BaseActivity, fixed slider functionality for location