changes in activityRelease and activityReleaseaOutside method
1) Fix complex activity remove on bin,
2) Fix check for activity with trans when setting as optional and reaise eror message and
3) added a method to snap activity to its original place if no action taken