Added lastSent global var to prevent flooding and refactored the key sending description