Motion detection is a powerful filtering mechanism for continuous storage. Recommend that the files have a flag appended to the filename which eliminates the need to have a database to track which have motion and which do not. When viewing local storage a toggle to show all continuous storage or only that with motion.
In addition, the visual timeline that shows green shading should incorporate a color for each of the flags. Green for no motion, red for motion. This enable the user to move through time and quickly identify and view video with motion.
This should not include a 5 minute cool down period that is used for cloud.