Fixed data disappearing and added alert style