(minor) remember each variation's value when switching variation + re-use it

When choosing a different Snak type in the snakview, the value from before switching will be
remembered and re-instated if the Snak type changes back.

Change-Id: I578e388992fd482da49cb94f82adf67d8d6ac822