Added config for page created + remove the activity when a page is deleted