Implemented backend to support changing overlay images during preview