Merge "Fixed the case where the task was moved to the front"