Persist sources and layers when switching a map's base style