See,when Capacitor is filled with dielectric,capacitance becomes k times Initial charge = 50uC,Capacitance=C(say) Final charge = 100uC+50uC=150uC,Final capacitance = kC
Since battery is still connected V will not change,therefore q/C=constant
50/C = 150/kC
Therefore k = 3
Mistake ur doing is that an ADDITIONAL 100uC is flowing in in addition to the 50uC already present