changed singleInstance to singleTask