Added warning messages type
Errors and warning are now disappearing after 10 seconds
Fix bug with remove function