I think you may have forgotten a magic number (3 seconds) in this `clearStatusMessage` call.

Should there be a third parameter here for `duration` as well?