Automatically select the alternative option and post the change via ajax

Signed-off-by: Takashiro <takashiro@qq.com>