panel: Avoid excessive writes and signals when changing applet config