fixing getting qrSession and hiding elements