DeviceSettings: Clean up screencast code