Showing alert only when it's not charging