Maintain selected layer in ApplicationModel
Read selected layer from ApplicationModel