add an options menu in gallery activity