I'd check the charging voltage first, to make sure the stator is working.
This is just working around (covering up) a problem and it will sooner or later fail solid. The failure will occur 500 miles from home, at night, in the rain.had (have) the same problem. When you start the bike let your finger snap off the starter switch (using the tip of your fingers). Never fails if you get a good snap.