Implementing ajax call to query task value against database.

If it exists the hidden fields won't display. If it doesn't the fields
will hide
Removed button
Changed task and details tags' ids, and added a new database insert for activity record

get_active_record has an if statement. This is because the next step
will be implementing this script for Materials as well.