modified profilesshow template, set activie buttons on the rigth