Adding interactions between problem and solution tabs