refactoring settings activity, eliminated usage of deprecated APIs.
change update interval