add mode process and mode change button