Javed Hashmi appointed PTI president