Using source code to auto submit Radio button not working