modified ui to reflect changes with the background task