fixed myprof test condition in readProfButtonsHTML