add refresh screen callback function