Added custom receiver and alert dialog