fixed bug tasks never disappear from the sidebar when done

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>