Bug 846542: store current and next image separately in the devices table; r=mcote