Use parse_toggle_state() to get the global_toggle_state