It appears that within days of shaving his head Troy has a full head of hair again when he meets Jonathan to have a look at the the apartment. This is not a continuity error, the film's chronology is not linear. Even though the apartment scene is shown to us after the head shaving, in the film's timeline it took place before.