Added flashlight feature on both the main screen and the pinging page