Progress dialog added, solving cyphering\uncyphering errors