complete mainactivity logic
add performdetail activity