fixing bug with redisplaying tasks after logging back in