Added choose button fctnlity