Effect of a Smartphone-Based App on the Quality of Life of Patients With Heart Failure: Randomized Controlled Trial (Preprint)