Change selected_<project> to boolean before generating toggles