Add field calc to main app window
Refactor activateDeactivateLayerRelatedActions