Added local_settings variable to toggle application display