Format and clean up code
Unregister receiver
Remove download when done