code cleanup in doppler demo app