Enabled setting the initial selected button index.