Note that properties applying to the menu as whole cannot be changed in script. That's why you get the error message.
Yyou ou can use changemenu(m_app_blue)
if there are relatively few thing you want to dynamically change just inherit m_app_blue from m_app and change menu it on the fly to the variation You are after.