disable send button while sending, and send files repeately withput crashing