set gui blend mode when switching main state