added flashlight toggle and sound