updates text in real time and also doesn't crap out when no task is selected