modify gallery button