Refactor prefences controller to reflect new dashboard partial style