allows refresh options to be called in sendMessage by returning true