Move force refresh to mediadb onscanend