Update FeatureManager and SpatialSelectorQueryForm to write selected layer in query panel