solved persistant sorting after selecting 'all' or 'incomplete' on tasks page