Work with layers and drawing the activity detail overview