added stages selection view with dynamic button creation