Update PreferenceTableViewController.m

Changed it to pull from database