Fix bug in selected layer style on datamenu change
Merge branch 'hotfix/0.5.1-selected-layer' into develop