Update skeletonActivity.java

fixed bug when sending messages is cancelled