implements task being displayed on dashboard after pressing stop