[FIX] set active/unactive buttons for image edition

[FIX] set active/unactive buttons for image edition when the user click on a picture