Clock won’t retain the time - 2010 Nissan Murano

What is causing my clock to not retain the time that I set for it and also my cd player always defaults to track 2 on disc 2 all of the time. Could it be the computer needs to be updated?

Could your battery be getting weak?