redesigned taskfragment and adapter