analyse only data from certain providers

to avoid analysing the same sample multiple times for example if it got in the database via GPS and fused-provider at the same time.
if the provider is NULL, save the string NULL instead of a NULL-Value

because the unique-constrain doesn't work with the NULL-Value but it does work with the NULL-String