Replaced all alertdialogs
Fixed NPE.