Added isOn method to flag helper; removed flags from App object