added a callback onSettingsChanged to send data to activity from settingsFragment.
added function counterSettingsChanged to counterFragment to receive changed settings from activity.
removed members from counterSettingsClass that will be redundant in future. better to let them stay on SharedPreference.