Edited 'Notify' function, moved 'chrome' listeners