Update settings indicator.

Now uses a helper, shows template message if plan settings
are equal to template settings, and makes sure margins are
ints.