onOptionsItemSelected function written, and made a new settings activity
more changes