Fixed Memory Leak and App Crashing