When a media form is displayed, move the cursor over the gear icon at the top right and click on Flag. You can also click on the corresponding star to either flag or unflag a file.
The flagged media files now have an orange star in the second-last column from the right. The orange star is used to flag files to which you wish to draw special attention, whether they are favourite or files to be modified or checked.