add Task to flash