added check if canvas exists
removed finish call in onDestroy()
added finish call on interruptException