interface bug + new ts insertion fixed

start/end time disabling works fine now. Added alerts for forbidden
operations.

mysql_insert_id() doesn’t work to get last inserted id. Using insert_id
field of $wpdb object instead