fix up js bug where the first option always persists even when user changes his mind