fixed timeline selecting and added end activity