remember the order of new widgets

Per issue mlaa/cac-advanced-profiles#36. I couldn't get this to work on your master branch for whatever reason (maybe because I've been working from the gui branch) but that's not to say that it couldn't work with a little tweaking.