Push the top switch to store 1 and lower switch to store 0.This circuit stores 1 or 0 and keeps it stored even when the battery is disconnected. Although this won't work practically as there is some leakage current which discharges the capacitor but it's a cool experiment.