add radio bar and update view when window load