Fixing back button on completed tasks on ios.
Solving memory leaks