Added restrictions to activity editor.