Updated template. Fixed bug when app was crashing on incoming call.