gallery modification functionnal + removed refresh bug after gallery creation