Fixed editung of activities