Move set/unset feed editing code to controller