fixed bug with update resource for ImageButton