fixed a possible NPE bug in ShareToSeafileActivity