Added feature onResume in devices. Now it will scan over again onResume() #30