Add select button
Add reset of encoded img when loading a new img