Dynamical behavior of an oscillating bubble initially between two liquids