Set tooltip only if not empty