Divided the preference screen into categories.