fixed memory leak in REVKActivity while encoding string