add finish to MainActivity