Enhancing Hierarchical Reinforcement Learning through Change Point Detection in Time Series