Display last task text in message box


I'd like to have the last task that I worked on displayed in the messagebox, if possible have it highlighted so that if you wanted to put a new task in it would overwrite it without having to do anything.

The reason for this is it takes me 3 or 4 pomodoro's to complete a task sometimes, and when I have to enter the task I'm sometimes not sure of what I exactly put in the messagebox.