Midnight Check Bug Fix

setRepeating method is added