Added functionality for when a user minimizes the app while the voice
recorder is running