More improvments for Taskfragment