add reset logic for the bolt icon