Created Applications table, added drop down box for application field and changed code to make it work for both of these things. yay!