Change redirect url and add clear radio button function