Cleanup memory in route.js

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Cleanup memory in detail.js

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Fix reset button not triggering keyboard when switching from other view

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>