check_refesh function

Checks the refresh of the selected star database from the given database