Symmetry transformations in Batalin-Vilkovisky formalism