Subject management and alarm upgrade

Alarm database upgrade should (hopefully) go smoothly.
Subject saving added, which prompts the user with past used subjects