Change the order of tasks to call 'notify' every time