Quantumness and memory of one qubit in a dissipative cavity under classical control